<?php slot(
'title','Мэдээ мэдээлэл | JMS карго')
?>
<div id="main-content"> 
       <div id="left">	
         <div id="post">
             <?php foreach ($newslist->getResults() as $news): ?>
                  <h3><a href="<?php echo url_for('n/'.$news->getId()) ?>">
                        <?php echo $news->getTitle() ?></a></h3>
                    <?php echo html_entity_decode(substr($news->getBody(), 0, strpos($news->getBody(), ' ', 400)))?>
                      <div class="view_all"><a href="<?php echo url_for('n/'.$news->getId()) ?>">Дэлгэрэнгүй..</a></div>

                 <?php endforeach; ?>
           </div>
             <div id="sp"></div>  
	</div>
        <div id="right">
            <div class="pro_ad_system_ad_container ad_container_2" style="width:300px; height:250px; background:#F4F4F4; overflow:hidden;">
                <div class="pro_ad_adzone_2_ad_0 adzone_ad_2" style="display:none;">
                    <object width="300" height="250">
                        <param name="movie" value="http://www.shuud.mn/wp-content/uploads/2013/07/300x250.swf">
                       
                        </param>
                        <param name="allowFullScreen" value="true"                  
                        </param>
                        <param name="allowscriptaccess" value="always"></param>
                        <param name="wmode" value="transparent"></param>
                        <embed src="http://www.shuud.mn/wp-content/uploads/2013/07/300x250.swf" type="application/x-shockwave-flash" width="300" height="250" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
                        <div class="pro_ad_adzone_2_ad_1 adzone_ad_2" style="display:none;">
                            <object width="300" height="250">
                                <param name="movie" value="http://www.shuud.mn/wp-content/uploads/2013/07/shuud300x250.swf"></param>
                                <param name="allowFullScreen" value="true"></param>
                                <param name="allowscriptaccess" value="always"></param>
                                <param name="wmode" value="transparent"></param>
                                <embed src="http://www.shuud.mn/wp-content/uploads/2013/07/shuud300x250.swf" type="application/x-shockwave-flash" width="300" height="250" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
                    <div class="pro_ad_adzone_2_ad_2 adzone_ad_2" style="display:none;">
                        <object width="300" height="200"><param name="movie" value="http://www.shuud.mn/wp-content/uploads/2013/07/MGL-goyodog.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="http://www.shuud.mn/wp-content/uploads/2013/07/MGL-goyodog.swf" type="application/x-shockwave-flash" width="300" height="200" allowscriptaccess="always" allowfullscreen="true"></embed></object></div><script type='text/javascript'>jQuery(document).ready(function($) { $('.pro_ad_adzone_2_ad_0').show(); var cur_ad = 0; var am_ads = 3 - 1; var autoPlayTime  = 30000; autoPlayTimer = setInterval( autoPlay, autoPlayTime ); function autoPlay(){ $('.pro_ad_adzone_2_ad_' + cur_ad ).hide(); if( cur_ad >= am_ads ){ cur_ad = 0; }else{ cur_ad = cur_ad + 1; } $('.pro_ad_adzone_2_ad_' + cur_ad ).show(); } }); </script>
            </div>                      				
	</div>				
</div>